Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
IIndexCache::AutoCloseTime Property
IIndexCache Interface | IIndexCache Interface | Send Feedback

Number of seconds before an unused index can be closed automatically.

__property LONG AutoCloseTime;
Description
Remarks

Use AutoCloseTime to have the cache automatically shrink when idle. On each access to the cache, the last-used time for each index is compared to autoCloseTime and, if the index has not been used for a sufficient period of time, the index is closed and removed from the cache. 

The cache does not have its own thread to implement AutoCloseTime, so it only checks AutoCloseTime when the cache is accessed for any reason.

Interface
Links
You are here: COM Interface > Interfaces > IIndexCache Interface > IIndexCache::AutoCloseTime Property
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.